projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a10eb16
)
No need to test for jka-compr
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 30 Apr 2016 00:37:26 +0000
(
02:37
+0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 30 Apr 2016 00:37:26 +0000
(
02:37
+0200)
* lisp/vc/ediff-util.el (ediff-file-compressed-p): jka-compr
is always available; no need to test (bug#18204).
lisp/vc/ediff-util.el
patch
|
blob
|
history
diff --git
a/lisp/vc/ediff-util.el
b/lisp/vc/ediff-util.el
index eb5c2490a7e87f3ecabd4086fdd29bf2d46b4716..c12602c71508a0733f2dfc2d0c4abe20624617ce 100644
(file)
--- a/
lisp/vc/ediff-util.el
+++ b/
lisp/vc/ediff-util.el
@@
-1141,11
+1141,8
@@
of the current buffer."
))
(defun ediff-file-compressed-p (file)
- (condition-case nil
- (require 'jka-compr)
- (error))
- (if (featurep 'jka-compr)
- (string-match (jka-compr-build-file-regexp) file)))
+ (require 'jka-compr)
+ (string-match (jka-compr-build-file-regexp) file))
(defun ediff-swap-buffers ()